import javax.swing.JCheckBox;


public class CheckBox 
{
	private JCheckBox check;
	
	@SuppressWarnings("deprecation")
	public CheckBox(String s)
	{
		check = new JCheckBox();
		check.setLabel(s);
	}
	
	public JCheckBox getCheckBox()
	{
		return check;
	}
	
	public void setEnableFalse()
	{
		check.setEnabled(false);
	}
	
	public boolean getCheckValue()
	{
		return check.isSelected();
	}
}
